﻿using Caviar.SharedKernel.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Caviar.SharedKernel.Template.View.IM.Messages
{
    public class MessageModel
    {
        /// <summary>
        /// 发送人ID
        /// </summary>
        public int FriendSenderId { get; set; }

        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime SendTime { get; set; }

        /// <summary>
        /// 接收人Id
        /// </summary>
        public int FriendReceiverId { get; set; }

        /// <summary>
        /// 消息类型
        /// </summary>
        public MessageType Type { get; set; }

        /// <summary>
        /// 内容体
        /// </summary>
        public string ContentBody { get; set; }
    }
}
